package pro5_decoder_encoder.ex3_objectSerialize.bean;

import java.io.Serializable;

//对象序列化
public class SerializationBean implements Serializable {

    private static final long serialVersionUID = 3235432002462705915L;

    private int age;
    private transient String name;

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "SerializationBean [age=" + age + ", name=" + name + "]";
    }

}
